import Vue from "vue";
import App from "./App.vue";
import ElementUI from "element-ui";
import router from "@/route/index";
import "element-ui/lib/theme-chalk/index.css";
// 加载全局样式
import "./styles/index.less";
import "@/mock/mockServer";

Vue.use(ElementUI);
// router.beforeEach((t, f, n) => {
//   console.log(t, f, "00000000000");
//   n();
// });
Vue.config.productionTip = false;
new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
